// 由个人中心跳转的路由
const homeRoutes = [
  { // 用户中心首页
    path: '/user',
    name: 'userIndex',
    component: () => import('@/views/user/index')
  },
  { // 注册
    path: '/reg',
    name: 'reg',
    component: () => import('@/views/user/reg')
  },
  { // 登录
    path: '/login',
    name: 'login',
    component: () => import('@/views/user/login')
  },
  { // 忘记密码
    path: '/forget',
    name: 'forget',
    component: () => import('@/views/user/forget')
  },
  { // 用户信息
    path: '/userInfo',
    name: 'userInfo',
    component: () => import('@/views/user/user_info')
  },
  { // 我的任务
    path: '/renwu/:type',
    name: 'renwu',
    component: () => import('@/views/user/renwu')
  },
  { // 联系我们
    path: '/callUs',
    name: 'callUs',
    component: () => import('@/views/user/callUs')
  },
  { // 常见问题
    path: '/requ',
    name: 'requ',
    component: () => import('@/views/user/requ')
  },
  { // 修改资料
    path: '/changeInfo',
    name: 'changeInfo',
    component: () => import('@/views/user/change_info')
  },
  {
    path: '/wallet',
    name: 'wallet',
    component: () => import('@/views/user/wallet')
  },
  {
    path: '/withdraw',
    name: 'withdraw',
    component: () => import('@/views/user/withdraw')
  },
  {
    path: '/team',
    name: 'team',
    component: () => import('@/views/user/team')
  },
  {
    path: '/set',
    name: 'set',
    component: () => import('@/views/user/set')
  },
  {
    path: '/changePsd',
    name: 'changePsd',
    component: () => import('@/views/user/changePsd')
  },
  {
    path: '/renzheng',
    name: 'renzheng',
    component: () => import('@/views/user/renzheng')
  },
  {
    path: '/complain',
    name: 'complain',
    component: () => import('@/views/user/complain')
  },
  {
    path: '/xieyi',
    name: 'xieyi',
    component: () => import('@/views/user/xieyi')
  },
];

export default homeRoutes;
